package com.example.demo.mapper;

import com.example.demo.po.College;
import com.example.demo.po.Student;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface CollegeMap {


    void SaveCollege(College College);

    List<College> GetCollege();

    List<College> SearchCollegeByName(String name);

    void UpdateCollege(College college);

    void DeleteCollege(int id);

    List<College> GetCollegeByName(String name);
    College VerifyName(String name);

}
